package Design_Pattern;

/**
 * @author zzq
 * time:2018/8/22 21:04
 */
public class BeanFactory  {
    private static  UserServiceImpl userServiceImpl;
    public static UserServiceImpl creat(){
        userServiceImpl  =  new UserServiceImpl();
        return  userServiceImpl;
    }
}
